﻿using System;
using System.CodeDom.Compiler;
using System.Reflection;
using System.Runtime.CompilerServices;
using AutoR.Services;
using Plugin.Iconize;
using Prism.Mvvm;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
using Xamarin.Forms.Xaml;
using Xamarin.Forms.Xaml.Internals;

namespace AutoR.Views
{
	// Token: 0x0200000C RID: 12
	[XamlFilePath("Views\\Login.xaml")]
	public class Login : ContentPage
	{
		// Token: 0x0600004A RID: 74 RVA: 0x00003982 File Offset: 0x00001B82
		public Login()
		{
			this.InitializeComponent();
		}

		// Token: 0x0600004B RID: 75 RVA: 0x00003990 File Offset: 0x00001B90
		protected override bool OnBackButtonPressed()
		{
			Device.BeginInvokeOnMainThread(async delegate
			{
				TaskAwaiter<bool> taskAwaiter = base.DisplayAlert("AutoR", "是否退出？", "确定", "取消").GetAwaiter();
				if (!taskAwaiter.IsCompleted)
				{
					await taskAwaiter;
					TaskAwaiter<bool> taskAwaiter2;
					taskAwaiter = taskAwaiter2;
					taskAwaiter2 = default(TaskAwaiter<bool>);
				}
				if (taskAwaiter.GetResult())
				{
					DependencyService.Get<ISystem>(DependencyFetchTarget.GlobalInstance).CloseApp();
				}
			});
			return true;
		}

		// Token: 0x0600004C RID: 76 RVA: 0x000039A4 File Offset: 0x00001BA4
		[GeneratedCode("Xamarin.Forms.Build.Tasks.XamlG", "0.0.0.0")]
		private void InitializeComponent()
		{
			if (ResourceLoader.ResourceProvider != null && ResourceLoader.ResourceProvider(typeof(Login).GetTypeInfo().Assembly.GetName(), "Views/Login.xaml") != null)
			{
				this.__InitComponentRuntime();
				return;
			}
			if (XamlLoader.XamlFileProvider != null && XamlLoader.XamlFileProvider(base.GetType()) != null)
			{
				this.__InitComponentRuntime();
				return;
			}
			BindingExtension bindingExtension = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer = new TapGestureRecognizer();
			Label label = new Label();
			Image image = new Image();
			Label label2 = new Label();
			BindingExtension bindingExtension2 = new BindingExtension();
			BindingExtension bindingExtension3 = new BindingExtension();
			Entry entry = new Entry();
			BindingExtension bindingExtension4 = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer2 = new TapGestureRecognizer();
			IconImage iconImage = new IconImage();
			BindingExtension bindingExtension5 = new BindingExtension();
			BindingExtension bindingExtension6 = new BindingExtension();
			Button button = new Button();
			BindingExtension bindingExtension7 = new BindingExtension();
			BindingExtension bindingExtension8 = new BindingExtension();
			Button button2 = new Button();
			StackLayout stackLayout = new StackLayout();
			Label label3 = new Label();
			BindingExtension bindingExtension9 = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer3 = new TapGestureRecognizer();
			Label label4 = new Label();
			StackLayout stackLayout2 = new StackLayout();
			BindingExtension bindingExtension10 = new BindingExtension();
			Label label5 = new Label();
			BindingExtension bindingExtension11 = new BindingExtension();
			BindingExtension bindingExtension12 = new BindingExtension();
			Entry entry2 = new Entry();
			BindingExtension bindingExtension13 = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer4 = new TapGestureRecognizer();
			IconImage iconImage2 = new IconImage();
			StackLayout stackLayout3 = new StackLayout();
			BindingExtension bindingExtension14 = new BindingExtension();
			Entry entry3 = new Entry();
			BindingExtension bindingExtension15 = new BindingExtension();
			string item = "官方安卓服";
			string item2 = "官方IOS服";
			string item3 = "日服";
			string item4 = "QQ服";
			string item5 = "小米服";
			string item6 = "台服";
			Picker picker = new Picker();
			BindingExtension bindingExtension16 = new BindingExtension();
			BindingExtension bindingExtension17 = new BindingExtension();
			Button button3 = new Button();
			StackLayout stackLayout4 = new StackLayout();
			BindingExtension bindingExtension18 = new BindingExtension();
			BindingExtension bindingExtension19 = new BindingExtension();
			Label label6 = new Label();
			BindingExtension bindingExtension20 = new BindingExtension();
			BindingExtension bindingExtension21 = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer5 = new TapGestureRecognizer();
			Label label7 = new Label();
			BindingExtension bindingExtension22 = new BindingExtension();
			BindingExtension bindingExtension23 = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer6 = new TapGestureRecognizer();
			Label label8 = new Label();
			StackLayout stackLayout5 = new StackLayout();
			Label label9 = new Label();
			BindingExtension bindingExtension24 = new BindingExtension();
			Label label10 = new Label();
			BindingExtension bindingExtension25 = new BindingExtension();
			ProgressBar progressBar = new ProgressBar();
			StackLayout stackLayout6 = new StackLayout();
			StackLayout stackLayout7 = new StackLayout();
			BindingExtension bindingExtension26 = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer7 = new TapGestureRecognizer();
			Label label11 = new Label();
			BindingExtension bindingExtension27 = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer8 = new TapGestureRecognizer();
			Label label12 = new Label();
			StackLayout stackLayout8 = new StackLayout();
			BindingExtension bindingExtension28 = new BindingExtension();
			BindingExtension bindingExtension29 = new BindingExtension();
			Button button4 = new Button();
			BindingExtension bindingExtension30 = new BindingExtension();
			Label label13 = new Label();
			StackLayout stackLayout9 = new StackLayout();
			NameScope nameScope = new NameScope();
			NameScope.SetNameScope(this, nameScope);
			this.SetValue(ViewModelLocator.AutowireViewModelProperty, new bool?(true));
			stackLayout9.SetValue(View.MarginProperty, new Thickness(5.0));
			label.SetValue(Label.TextProperty, "双开配置切换");
			label.SetValue(Label.TextColorProperty, Color.DeepSkyBlue);
			label.SetValue(View.HorizontalOptionsProperty, LayoutOptions.End);
			BindableObject bindableObject = label;
			BindableProperty fontSizeProperty = Label.FontSizeProperty;
			IExtendedTypeConverter extendedTypeConverter = new FontSizeConverter();
			string value = "13";
			XamlServiceProvider xamlServiceProvider = new XamlServiceProvider();
			Type typeFromHandle = typeof(IProvideValueTarget);
			object[] array = new object[0 + 3];
			array[0] = label;
			array[1] = stackLayout9;
			array[2] = this;
			object service;
			xamlServiceProvider.Add(typeFromHandle, service = new SimpleValueTargetProvider(array, Label.FontSizeProperty, nameScope));
			xamlServiceProvider.Add(typeof(IReferenceProvider), service);
			Type typeFromHandle2 = typeof(IXamlTypeResolver);
			XmlNamespaceResolver xmlNamespaceResolver = new XmlNamespaceResolver();
			xmlNamespaceResolver.Add("", "http://xamarin.com/schemas/2014/forms");
			xmlNamespaceResolver.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
			xmlNamespaceResolver.Add("prism", "clr-namespace:Prism.Mvvm;assembly=Prism.Forms");
			xmlNamespaceResolver.Add("iconize", "clr-namespace:Plugin.Iconize;assembly=Plugin.Iconize");
			xamlServiceProvider.Add(typeFromHandle2, new XamlTypeResolver(xmlNamespaceResolver, typeof(Login).GetTypeInfo().Assembly));
			xamlServiceProvider.Add(typeof(IXmlLineInfoProvider), new XmlLineInfoProvider(new XmlLineInfo(9, 78)));
			bindableObject.SetValue(fontSizeProperty, extendedTypeConverter.ConvertFromInvariantString(value, xamlServiceProvider));
			bindingExtension.Path = "ChangeBuiltinCommand";
			BindingBase binding = ((IMarkupExtension<BindingBase>)bindingExtension).ProvideValue(null);
			tapGestureRecognizer.SetBinding(TapGestureRecognizer.CommandProperty, binding);
			label.GestureRecognizers.Add(tapGestureRecognizer);
			stackLayout9.Children.Add(label);
			image.SetValue(Image.SourceProperty, new ImageSourceConverter().ConvertFromInvariantString("icon.png"));
			image.SetValue(VisualElement.HeightRequestProperty, 36.0);
			image.SetValue(VisualElement.WidthRequestProperty, 36.0);
			image.SetValue(View.HorizontalOptionsProperty, LayoutOptions.Center);
			image.SetValue(View.MarginProperty, new Thickness(0.0, 40.0, 0.0, 0.0));
			stackLayout9.Children.Add(image);
			label2.SetValue(Label.TextProperty, "AutoR™");
			label2.SetValue(View.HorizontalOptionsProperty, LayoutOptions.Center);
			BindableObject bindableObject2 = label2;
			BindableProperty fontSizeProperty2 = Label.FontSizeProperty;
			IExtendedTypeConverter extendedTypeConverter2 = new FontSizeConverter();
			string value2 = "16";
			XamlServiceProvider xamlServiceProvider2 = new XamlServiceProvider();
			Type typeFromHandle3 = typeof(IProvideValueTarget);
			object[] array2 = new object[0 + 3];
			array2[0] = label2;
			array2[1] = stackLayout9;
			array2[2] = this;
			object service2;
			xamlServiceProvider2.Add(typeFromHandle3, service2 = new SimpleValueTargetProvider(array2, Label.FontSizeProperty, nameScope));
			xamlServiceProvider2.Add(typeof(IReferenceProvider), service2);
			Type typeFromHandle4 = typeof(IXamlTypeResolver);
			XmlNamespaceResolver xmlNamespaceResolver2 = new XmlNamespaceResolver();
			xmlNamespaceResolver2.Add("", "http://xamarin.com/schemas/2014/forms");
			xmlNamespaceResolver2.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
			xmlNamespaceResolver2.Add("prism", "clr-namespace:Prism.Mvvm;assembly=Prism.Forms");
			xmlNamespaceResolver2.Add("iconize", "clr-namespace:Plugin.Iconize;assembly=Plugin.Iconize");
			xamlServiceProvider2.Add(typeFromHandle4, new XamlTypeResolver(xmlNamespaceResolver2, typeof(Login).GetTypeInfo().Assembly));
			xamlServiceProvider2.Add(typeof(IXmlLineInfoProvider), new XmlLineInfoProvider(new XmlLineInfo(15, 57)));
			bindableObject2.SetValue(fontSizeProperty2, extendedTypeConverter2.ConvertFromInvariantString(value2, xamlServiceProvider2));
			stackLayout9.Children.Add(label2);
			bindingExtension2.Path = "IsNoCheck";
			BindingBase binding2 = ((IMarkupExtension<BindingBase>)bindingExtension2).ProvideValue(null);
			stackLayout2.SetBinding(VisualElement.IsVisibleProperty, binding2);
			entry.SetValue(Entry.PlaceholderProperty, "注册码");
			entry.SetValue(View.MarginProperty, new Thickness(0.0, 20.0, 0.0, 0.0));
			bindingExtension3.Path = "Config.CDK";
			BindingBase binding3 = ((IMarkupExtension<BindingBase>)bindingExtension3).ProvideValue(null);
			entry.SetBinding(Entry.TextProperty, binding3);
			entry.SetValue(Entry.IsPasswordProperty, true);
			stackLayout2.Children.Add(entry);
			stackLayout.SetValue(StackLayout.OrientationProperty, StackOrientation.Horizontal);
			stackLayout.SetValue(View.HorizontalOptionsProperty, LayoutOptions.End);
			iconImage.SetValue(IconImage.IconProperty, "md-attach-file");
			iconImage.SetValue(IconImage.IconColorProperty, Color.DeepSkyBlue);
			iconImage.SetValue(VisualElement.HeightRequestProperty, 24.0);
			iconImage.SetValue(VisualElement.WidthRequestProperty, 24.0);
			bindingExtension4.Path = "CopyCDKCommand";
			BindingBase binding4 = ((IMarkupExtension<BindingBase>)bindingExtension4).ProvideValue(null);
			tapGestureRecognizer2.SetBinding(TapGestureRecognizer.CommandProperty, binding4);
			iconImage.GestureRecognizers.Add(tapGestureRecognizer2);
			stackLayout.Children.Add(iconImage);
			button.SetValue(Button.TextProperty, "试用");
			bindingExtension5.Path = "TryCommand";
			BindingBase binding5 = ((IMarkupExtension<BindingBase>)bindingExtension5).ProvideValue(null);
			button.SetBinding(Button.CommandProperty, binding5);
			button.SetValue(View.MarginProperty, new Thickness(20.0, 0.0, 0.0, 0.0));
			button.SetValue(Button.TextColorProperty, Color.OrangeRed);
			bindingExtension6.Path = "IsBusy";
			BindingBase binding6 = ((IMarkupExtension<BindingBase>)bindingExtension6).ProvideValue(null);
			button.SetBinding(VisualElement.IsEnabledProperty, binding6);
			stackLayout.Children.Add(button);
			button2.SetValue(Button.TextProperty, "验证");
			bindingExtension7.Path = "CDKCommand";
			BindingBase binding7 = ((IMarkupExtension<BindingBase>)bindingExtension7).ProvideValue(null);
			button2.SetBinding(Button.CommandProperty, binding7);
			button2.SetValue(View.MarginProperty, new Thickness(20.0, 0.0, 0.0, 0.0));
			bindingExtension8.Path = "IsBusy";
			BindingBase binding8 = ((IMarkupExtension<BindingBase>)bindingExtension8).ProvideValue(null);
			button2.SetBinding(VisualElement.IsEnabledProperty, binding8);
			stackLayout.Children.Add(button2);
			stackLayout2.Children.Add(stackLayout);
			label3.SetValue(Label.TextProperty, "每次启动免费试用30分钟，总计20次。");
			label3.SetValue(View.MarginProperty, new Thickness(0.0, 30.0, 0.0, 0.0));
			stackLayout2.Children.Add(label3);
			label4.SetValue(Label.TextProperty, "购买更新请点击");
			label4.SetValue(View.MarginProperty, new Thickness(0.0, 10.0, 0.0, 0.0));
			bindingExtension9.Path = "OpenTBCommand";
			BindingBase binding9 = ((IMarkupExtension<BindingBase>)bindingExtension9).ProvideValue(null);
			tapGestureRecognizer3.SetBinding(TapGestureRecognizer.CommandProperty, binding9);
			label4.GestureRecognizers.Add(tapGestureRecognizer3);
			stackLayout2.Children.Add(label4);
			stackLayout9.Children.Add(stackLayout2);
			bindingExtension10.Path = "CDKInfo";
			BindingBase binding10 = ((IMarkupExtension<BindingBase>)bindingExtension10).ProvideValue(null);
			label5.SetBinding(Label.TextProperty, binding10);
			BindableObject bindableObject3 = label5;
			BindableProperty fontSizeProperty3 = Label.FontSizeProperty;
			IExtendedTypeConverter extendedTypeConverter3 = new FontSizeConverter();
			string value3 = "16";
			XamlServiceProvider xamlServiceProvider3 = new XamlServiceProvider();
			Type typeFromHandle5 = typeof(IProvideValueTarget);
			object[] array3 = new object[0 + 3];
			array3[0] = label5;
			array3[1] = stackLayout9;
			array3[2] = this;
			object service3;
			xamlServiceProvider3.Add(typeFromHandle5, service3 = new SimpleValueTargetProvider(array3, Label.FontSizeProperty, nameScope));
			xamlServiceProvider3.Add(typeof(IReferenceProvider), service3);
			Type typeFromHandle6 = typeof(IXamlTypeResolver);
			XmlNamespaceResolver xmlNamespaceResolver3 = new XmlNamespaceResolver();
			xmlNamespaceResolver3.Add("", "http://xamarin.com/schemas/2014/forms");
			xmlNamespaceResolver3.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
			xmlNamespaceResolver3.Add("prism", "clr-namespace:Prism.Mvvm;assembly=Prism.Forms");
			xmlNamespaceResolver3.Add("iconize", "clr-namespace:Plugin.Iconize;assembly=Plugin.Iconize");
			xamlServiceProvider3.Add(typeFromHandle6, new XamlTypeResolver(xmlNamespaceResolver3, typeof(Login).GetTypeInfo().Assembly));
			xamlServiceProvider3.Add(typeof(IXmlLineInfoProvider), new XmlLineInfoProvider(new XmlLineInfo(36, 41)));
			bindableObject3.SetValue(fontSizeProperty3, extendedTypeConverter3.ConvertFromInvariantString(value3, xamlServiceProvider3));
			label5.SetValue(View.MarginProperty, new Thickness(0.0, 20.0, 0.0, 0.0));
			stackLayout9.Children.Add(label5);
			bindingExtension11.Path = "IsCheck";
			BindingBase binding11 = ((IMarkupExtension<BindingBase>)bindingExtension11).ProvideValue(null);
			stackLayout4.SetBinding(VisualElement.IsVisibleProperty, binding11);
			stackLayout4.SetValue(View.MarginProperty, new Thickness(0.0, 10.0, 0.0, 0.0));
			stackLayout3.SetValue(StackLayout.OrientationProperty, StackOrientation.Horizontal);
			stackLayout3.SetValue(View.MarginProperty, new Thickness(0.0, 30.0, 0.0, 0.0));
			entry2.SetValue(Entry.PlaceholderProperty, "用户名");
			bindingExtension12.Path = "Config.UserName";
			BindingBase binding12 = ((IMarkupExtension<BindingBase>)bindingExtension12).ProvideValue(null);
			entry2.SetBinding(Entry.TextProperty, binding12);
			entry2.SetValue(View.HorizontalOptionsProperty, LayoutOptions.FillAndExpand);
			stackLayout3.Children.Add(entry2);
			iconImage2.SetValue(IconImage.IconProperty, "md-details");
			iconImage2.SetValue(IconImage.IconColorProperty, Color.DarkBlue);
			iconImage2.SetValue(VisualElement.HeightRequestProperty, 24.0);
			iconImage2.SetValue(VisualElement.WidthRequestProperty, 24.0);
			iconImage2.SetValue(View.VerticalOptionsProperty, LayoutOptions.Center);
			bindingExtension13.Path = "SaveUserCommand";
			BindingBase binding13 = ((IMarkupExtension<BindingBase>)bindingExtension13).ProvideValue(null);
			tapGestureRecognizer4.SetBinding(TapGestureRecognizer.CommandProperty, binding13);
			iconImage2.GestureRecognizers.Add(tapGestureRecognizer4);
			stackLayout3.Children.Add(iconImage2);
			stackLayout4.Children.Add(stackLayout3);
			entry3.SetValue(Entry.PlaceholderProperty, "密码");
			entry3.SetValue(Entry.IsPasswordProperty, true);
			bindingExtension14.Path = "Config.Password";
			BindingBase binding14 = ((IMarkupExtension<BindingBase>)bindingExtension14).ProvideValue(null);
			entry3.SetBinding(Entry.TextProperty, binding14);
			stackLayout4.Children.Add(entry3);
			bindingExtension15.Path = "Config.Server";
			BindingBase binding15 = ((IMarkupExtension<BindingBase>)bindingExtension15).ProvideValue(null);
			picker.SetBinding(Picker.SelectedIndexProperty, binding15);
			picker.SetValue(VisualElement.WidthRequestProperty, 100.0);
			picker.Items.Add(item);
			picker.Items.Add(item2);
			picker.Items.Add(item3);
			picker.Items.Add(item4);
			picker.Items.Add(item5);
			picker.Items.Add(item6);
			stackLayout4.Children.Add(picker);
			button3.SetValue(Button.TextProperty, "登陆");
			button3.SetValue(View.MarginProperty, new Thickness(0.0, 10.0, 0.0, 0.0));
			button3.SetValue(Button.BorderRadiusProperty, 2);
			bindingExtension16.Path = "LoginCommand";
			BindingBase binding16 = ((IMarkupExtension<BindingBase>)bindingExtension16).ProvideValue(null);
			button3.SetBinding(Button.CommandProperty, binding16);
			bindingExtension17.Path = "IsBusy";
			BindingBase binding17 = ((IMarkupExtension<BindingBase>)bindingExtension17).ProvideValue(null);
			button3.SetBinding(VisualElement.IsEnabledProperty, binding17);
			stackLayout4.Children.Add(button3);
			stackLayout9.Children.Add(stackLayout4);
			stackLayout7.SetValue(View.MarginProperty, new Thickness(0.0, 30.0, 0.0, 0.0));
			bindingExtension18.Path = "IsNewPic";
			BindingBase binding18 = ((IMarkupExtension<BindingBase>)bindingExtension18).ProvideValue(null);
			stackLayout7.SetBinding(VisualElement.IsVisibleProperty, binding18);
			stackLayout5.SetValue(StackLayout.OrientationProperty, StackOrientation.Horizontal);
			label6.SetValue(Label.TextProperty, "发现图片立绘更新");
			label6.SetValue(Label.TextColorProperty, Color.Crimson);
			bindingExtension19.Path = "IsBusy";
			BindingBase binding19 = ((IMarkupExtension<BindingBase>)bindingExtension19).ProvideValue(null);
			label6.SetBinding(VisualElement.IsEnabledProperty, binding19);
			stackLayout5.Children.Add(label6);
			label7.SetValue(Label.TextProperty, "增量下载");
			label7.SetValue(Label.TextColorProperty, Color.Cyan);
			bindingExtension20.Path = "IsBusy";
			BindingBase binding20 = ((IMarkupExtension<BindingBase>)bindingExtension20).ProvideValue(null);
			label7.SetBinding(VisualElement.IsEnabledProperty, binding20);
			label7.SetValue(View.MarginProperty, new Thickness(10.0, 0.0, 0.0, 0.0));
			bindingExtension21.Path = "ResourcesCommand";
			BindingBase binding21 = ((IMarkupExtension<BindingBase>)bindingExtension21).ProvideValue(null);
			tapGestureRecognizer5.SetBinding(TapGestureRecognizer.CommandProperty, binding21);
			label7.GestureRecognizers.Add(tapGestureRecognizer5);
			stackLayout5.Children.Add(label7);
			label8.SetValue(Label.TextProperty, "全量下载");
			label8.SetValue(Label.TextColorProperty, Color.Cyan);
			bindingExtension22.Path = "IsBusy";
			BindingBase binding22 = ((IMarkupExtension<BindingBase>)bindingExtension22).ProvideValue(null);
			label8.SetBinding(VisualElement.IsEnabledProperty, binding22);
			label8.SetValue(View.MarginProperty, new Thickness(10.0, 0.0, 0.0, 0.0));
			bindingExtension23.Path = "ResourcesAllCommand";
			BindingBase binding23 = ((IMarkupExtension<BindingBase>)bindingExtension23).ProvideValue(null);
			tapGestureRecognizer6.SetBinding(TapGestureRecognizer.CommandProperty, binding23);
			label8.GestureRecognizers.Add(tapGestureRecognizer6);
			stackLayout5.Children.Add(label8);
			stackLayout7.Children.Add(stackLayout5);
			label9.SetValue(Label.TextProperty, "第一次下载，请选择全量下载，大概一分钟内可完成！");
			BindableObject bindableObject4 = label9;
			BindableProperty fontSizeProperty4 = Label.FontSizeProperty;
			IExtendedTypeConverter extendedTypeConverter4 = new FontSizeConverter();
			string value4 = "12";
			XamlServiceProvider xamlServiceProvider4 = new XamlServiceProvider();
			Type typeFromHandle7 = typeof(IProvideValueTarget);
			object[] array4 = new object[0 + 4];
			array4[0] = label9;
			array4[1] = stackLayout7;
			array4[2] = stackLayout9;
			array4[3] = this;
			object service4;
			xamlServiceProvider4.Add(typeFromHandle7, service4 = new SimpleValueTargetProvider(array4, Label.FontSizeProperty, nameScope));
			xamlServiceProvider4.Add(typeof(IReferenceProvider), service4);
			Type typeFromHandle8 = typeof(IXamlTypeResolver);
			XmlNamespaceResolver xmlNamespaceResolver4 = new XmlNamespaceResolver();
			xmlNamespaceResolver4.Add("", "http://xamarin.com/schemas/2014/forms");
			xmlNamespaceResolver4.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
			xmlNamespaceResolver4.Add("prism", "clr-namespace:Prism.Mvvm;assembly=Prism.Forms");
			xmlNamespaceResolver4.Add("iconize", "clr-namespace:Plugin.Iconize;assembly=Plugin.Iconize");
			xamlServiceProvider4.Add(typeFromHandle8, new XamlTypeResolver(xmlNamespaceResolver4, typeof(Login).GetTypeInfo().Assembly));
			xamlServiceProvider4.Add(typeof(IXmlLineInfoProvider), new XmlLineInfoProvider(new XmlLineInfo(75, 52)));
			bindableObject4.SetValue(fontSizeProperty4, extendedTypeConverter4.ConvertFromInvariantString(value4, xamlServiceProvider4));
			label9.SetValue(Label.TextColorProperty, Color.Crimson);
			stackLayout7.Children.Add(label9);
			stackLayout6.SetValue(StackLayout.OrientationProperty, StackOrientation.Horizontal);
			bindingExtension24.Path = "IsDownload";
			BindingBase binding24 = ((IMarkupExtension<BindingBase>)bindingExtension24).ProvideValue(null);
			stackLayout6.SetBinding(VisualElement.IsVisibleProperty, binding24);
			label10.SetValue(Label.TextProperty, "下载中");
			BindableObject bindableObject5 = label10;
			BindableProperty fontSizeProperty5 = Label.FontSizeProperty;
			IExtendedTypeConverter extendedTypeConverter5 = new FontSizeConverter();
			string value5 = "12";
			XamlServiceProvider xamlServiceProvider5 = new XamlServiceProvider();
			Type typeFromHandle9 = typeof(IProvideValueTarget);
			object[] array5 = new object[0 + 5];
			array5[0] = label10;
			array5[1] = stackLayout6;
			array5[2] = stackLayout7;
			array5[3] = stackLayout9;
			array5[4] = this;
			object service5;
			xamlServiceProvider5.Add(typeFromHandle9, service5 = new SimpleValueTargetProvider(array5, Label.FontSizeProperty, nameScope));
			xamlServiceProvider5.Add(typeof(IReferenceProvider), service5);
			Type typeFromHandle10 = typeof(IXamlTypeResolver);
			XmlNamespaceResolver xmlNamespaceResolver5 = new XmlNamespaceResolver();
			xmlNamespaceResolver5.Add("", "http://xamarin.com/schemas/2014/forms");
			xmlNamespaceResolver5.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
			xmlNamespaceResolver5.Add("prism", "clr-namespace:Prism.Mvvm;assembly=Prism.Forms");
			xmlNamespaceResolver5.Add("iconize", "clr-namespace:Plugin.Iconize;assembly=Plugin.Iconize");
			xamlServiceProvider5.Add(typeFromHandle10, new XamlTypeResolver(xmlNamespaceResolver5, typeof(Login).GetTypeInfo().Assembly));
			xamlServiceProvider5.Add(typeof(IXmlLineInfoProvider), new XmlLineInfoProvider(new XmlLineInfo(77, 35)));
			bindableObject5.SetValue(fontSizeProperty5, extendedTypeConverter5.ConvertFromInvariantString(value5, xamlServiceProvider5));
			label10.SetValue(Label.TextColorProperty, Color.Crimson);
			stackLayout6.Children.Add(label10);
			bindingExtension25.Path = "DownloadProgress";
			BindingBase binding25 = ((IMarkupExtension<BindingBase>)bindingExtension25).ProvideValue(null);
			progressBar.SetBinding(ProgressBar.ProgressProperty, binding25);
			stackLayout6.Children.Add(progressBar);
			stackLayout7.Children.Add(stackLayout6);
			stackLayout9.Children.Add(stackLayout7);
			stackLayout8.SetValue(View.MarginProperty, new Thickness(0.0, 10.0, 0.0, 0.0));
			stackLayout8.SetValue(StackLayout.OrientationProperty, StackOrientation.Horizontal);
			label11.SetValue(Label.TextProperty, "清除数据");
			label11.SetValue(Label.TextColorProperty, Color.SeaGreen);
			bindingExtension26.Path = "ClearDataCommand";
			BindingBase binding26 = ((IMarkupExtension<BindingBase>)bindingExtension26).ProvideValue(null);
			tapGestureRecognizer7.SetBinding(TapGestureRecognizer.CommandProperty, binding26);
			label11.GestureRecognizers.Add(tapGestureRecognizer7);
			stackLayout8.Children.Add(label11);
			label12.SetValue(Label.TextProperty, "清除统计数据");
			label12.SetValue(Label.TextColorProperty, Color.SeaGreen);
			label12.SetValue(View.MarginProperty, new Thickness(30.0, 0.0, 0.0, 0.0));
			bindingExtension27.Path = "ClearStatCommand";
			BindingBase binding27 = ((IMarkupExtension<BindingBase>)bindingExtension27).ProvideValue(null);
			tapGestureRecognizer8.SetBinding(TapGestureRecognizer.CommandProperty, binding27);
			label12.GestureRecognizers.Add(tapGestureRecognizer8);
			stackLayout8.Children.Add(label12);
			stackLayout9.Children.Add(stackLayout8);
			button4.SetValue(Button.TextProperty, "发现新版本，请点击更新");
			button4.SetValue(VisualElement.BackgroundColorProperty, Color.DarkTurquoise);
			button4.SetValue(View.VerticalOptionsProperty, LayoutOptions.EndAndExpand);
			bindingExtension28.Path = "ChangeLogCommand";
			BindingBase binding28 = ((IMarkupExtension<BindingBase>)bindingExtension28).ProvideValue(null);
			button4.SetBinding(Button.CommandProperty, binding28);
			bindingExtension29.Path = "IsNew";
			BindingBase binding29 = ((IMarkupExtension<BindingBase>)bindingExtension29).ProvideValue(null);
			button4.SetBinding(VisualElement.IsVisibleProperty, binding29);
			stackLayout9.Children.Add(button4);
			bindingExtension30.Path = "VersionName";
			bindingExtension30.StringFormat = "版本号: {0}";
			BindingBase binding30 = ((IMarkupExtension<BindingBase>)bindingExtension30).ProvideValue(null);
			label13.SetBinding(Label.TextProperty, binding30);
			label13.SetValue(View.VerticalOptionsProperty, LayoutOptions.EndAndExpand);
			label13.SetValue(View.HorizontalOptionsProperty, LayoutOptions.Center);
			BindableObject bindableObject6 = label13;
			BindableProperty fontSizeProperty6 = Label.FontSizeProperty;
			IExtendedTypeConverter extendedTypeConverter6 = new FontSizeConverter();
			string value6 = "16";
			XamlServiceProvider xamlServiceProvider6 = new XamlServiceProvider();
			Type typeFromHandle11 = typeof(IProvideValueTarget);
			object[] array6 = new object[0 + 3];
			array6[0] = label13;
			array6[1] = stackLayout9;
			array6[2] = this;
			object service6;
			xamlServiceProvider6.Add(typeFromHandle11, service6 = new SimpleValueTargetProvider(array6, Label.FontSizeProperty, nameScope));
			xamlServiceProvider6.Add(typeof(IReferenceProvider), service6);
			Type typeFromHandle12 = typeof(IXamlTypeResolver);
			XmlNamespaceResolver xmlNamespaceResolver6 = new XmlNamespaceResolver();
			xmlNamespaceResolver6.Add("", "http://xamarin.com/schemas/2014/forms");
			xmlNamespaceResolver6.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
			xmlNamespaceResolver6.Add("prism", "clr-namespace:Prism.Mvvm;assembly=Prism.Forms");
			xmlNamespaceResolver6.Add("iconize", "clr-namespace:Plugin.Iconize;assembly=Plugin.Iconize");
			xamlServiceProvider6.Add(typeFromHandle12, new XamlTypeResolver(xmlNamespaceResolver6, typeof(Login).GetTypeInfo().Assembly));
			xamlServiceProvider6.Add(typeof(IXmlLineInfoProvider), new XmlLineInfoProvider(new XmlLineInfo(97, 133)));
			bindableObject6.SetValue(fontSizeProperty6, extendedTypeConverter6.ConvertFromInvariantString(value6, xamlServiceProvider6));
			stackLayout9.Children.Add(label13);
			this.SetValue(ContentPage.ContentProperty, stackLayout9);
		}

		// Token: 0x0600004E RID: 78 RVA: 0x00005135 File Offset: 0x00003335
		private void __InitComponentRuntime()
		{
			this.LoadFromXaml(typeof(Login));
		}
	}
}
